package com.le.dub.mobile;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author guole
 * @since 2024-10-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("g_user")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;



    /**
     * 上级id
     */
    private Integer pid;

    /**
     *  1正常 2取消关注 3禁用
     */
    private Integer status;

    /**
     * 剩余能量(1个能量=1个字符)
     */
    private Integer residualEnergy;

    /**
     * 分成金额
     */
    private Integer sharingAmount;

    /**
     * 提现金额
     */
    private Integer withdrawAmount;

    /**
     * 手机号
     */
    private String phone;
    /**
     * 取消关注时间
     */
    private Date unsubscribeTime;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 会员截止时间
     */
    private Date memberDeadline;

    /**
     * 用户token
     */
    private String token;
    /**
     * 密码
     */
    private String password;
    /**
     * 昵称
     */
    private String nick;
}
